{include('Layout/header')}
                      

    <div class='site-content'>
        {if isset($keyword)} {/php}
        <h3 class='keyword-title'>{$keyword}</h3>
        {php}{/if}
        {foreach $arts $key $val}
        <div class='arts-border'>
            <h2><a href="{$titleUrl}{$val['title']}.html">{$val['title']}</a></h2>
            <div class='art-mesg'>
                <p>
                    <a href="{$titleUrl}{$val['title']}.html#comment" class='art-mesg-btn'>
                        <span class='glyphicon glyphicon-comment art-mesg-icon' aria-hidden='true'></span>
                        {$val['comment']} comment
                    </a>
                    <a href="{\Rexzy::url('author/')}{$val['author']}" class='art-mesg-btn'>
                        <span class='glyphicon glyphicon-user art-mesg-icon' aria-hidden='true'></span>
                            {$val['author']}
                    </a>
                    <span class='glyphicon glyphicon-list art-mesg-icon art-sort-icon' aria-hidden='true'></span>
                    {foreach $val['sortName'] $key1 $val1}
                        <a href="{$sortUrl}{$val['sortSlugName'][$key1]}" class='art-sort'>{$val1}</a>
                    {/foreach}
                    <a href="{\Rexzy::url('date/')}{$val['date']}" class='art-mesg-btn'>
                        <span class='glyphicon glyphicon-time art-mesg-icon' aria-hidden='true'></span>
                        {$val['date']}
                    </a>
                </p>
            </div>
            <div class='art-content'>
                {$val['outline']}
            </div>
            <div class='art-border-footer'>
                <a href="{$titleUrl}{$val['title']}.html" class='read-more-btn'>read more &raquo;</a>
            </div>
        </div> 
        {/foreach}
        {if count($arts) == 0}{/php}
            <div class="none-content-border">
                <h2>没有找到任何内容</h2>
                <a href="{$host}" class="return-homepage">返回主页 &raquo;</a>
            </div>
        {php}{/if}
    </div>



{include('Layout/footer')}